﻿#region Usings
using System;
using System.Web.UI.WebControls;
using BK.BL;
using BK.Entities;
using BK.WebSite.AppCode;
using Lib.Data.CriteriaRoutine;
#endregion

namespace BK.WebSite.Controls
{
    public partial class CurrencyList : BkDataListControl<CurrencyEntity, Currencies>
    {
        #region Instance Methods
        protected void Page_Load(object sender, EventArgs e)
        {
        }
        #endregion

        #region Instance Properties
        public override string Key
        {
            get { return "Accounts"; }
        }

        protected override bool HandleItemCommand(object source, RepeaterCommandEventArgs e)
        {
            return false;
        }

        public override Criteria RequiredCriteria
        {
            get { return new Criteria("UserId.Value", Clause.Eq, UserProvider.GetCurrentUser().Id.Value); }
        }
        #endregion
    }
}